local env_config = {}

env_config.debug_log = 0    --debug.log里记录每次的请求数据 1开启 0关闭
env_config.log = 1          --网页日志开关 1开 0关
env_config.skip_repeat_request = 0   --跳过重复请求检测 1跳过开启 0需要检测不跳过
env_config.skip_url_check = 0        --跳过检测url基础参数  1跳过开启 0需要检测不跳过


--redis
env_config.db_config =  {

redis = {
    server = {
        [0] = { ip='10.0.6.40', port=6379, db_timeout=10000, db_password='test12345', },
        [1] = { ip='10.0.6.40', port=6379, db_timeout=10000, db_password='test12345', },
        [2] = { ip='10.0.6.40', port=6379, db_timeout=10000, db_password='test12345', },
        [3] = { ip='10.0.6.40', port=6379, db_timeout=10000, db_password='test12345', },
        [4] = { ip='10.0.6.40', port=6379, db_timeout=10000, db_password='test12345', },
        [5] = { ip='10.0.6.40', port=6379, db_timeout=10000, db_password='test12345', },
        [6] = { ip='10.0.6.40', port=6379, db_timeout=10000, db_password='test12345', },
        [7] = { ip='10.0.6.40', port=6379, db_timeout=10000, db_password='test12345', },
        [8] = { ip='10.0.6.40', port=6379, db_timeout=10000, db_password='test12345', },
        [9] = { ip='10.0.6.40', port=6379, db_timeout=10000, db_password='test12345', },
    },
},

--mysql
mysql = {
    server = {
        [0] = { ip='10.0.6.40', port=3306, db_user='root', db_password='123456', 
            db_name='game_test', db_timeout=10000, db_charset='utf8mb4', 
        },
        [1] = { ip='10.0.6.40', port=3306, db_user='root', db_password='123456', 
            db_name='game_test', db_timeout=10000, db_charset='utf8mb4', 
        },
        [2] = { ip='10.0.6.40', port=3306, db_user='root', db_password='123456', 
            db_name='game_test', db_timeout=10000, db_charset='utf8mb4', 
        },
        [3] = { ip='10.0.6.40', port=3306, db_user='root', db_password='123456', 
            db_name='game_test', db_timeout=10000, db_charset='utf8mb4', 
        },
        [4] = { ip='10.0.6.40', port=3306, db_user='root', db_password='123456', 
            db_name='game_test', db_timeout=10000, db_charset='utf8mb4', 
        },
        [5] = { ip='10.0.6.40', port=3306, db_user='root', db_password='123456', 
            db_name='game_test', db_timeout=10000, db_charset='utf8mb4', 
        },
        [6] = { ip='10.0.6.40', port=3306, db_user='root', db_password='123456', 
            db_name='game_test', db_timeout=10000, db_charset='utf8mb4', 
        },
        [7] = { ip='10.0.6.40', port=3306, db_user='root', db_password='123456', 
            db_name='game_test', db_timeout=10000, db_charset='utf8mb4', 
        },
        [8] = { ip='10.0.6.40', port=3306, db_user='root', db_password='123456', 
            db_name='game_test', db_timeout=10000, db_charset='utf8mb4', 
        },
        [9] = { ip='10.0.6.40', port=3306, db_user='root', db_password='123456', 
            db_name='game_test', db_timeout=10000, db_charset='utf8mb4', 
        },
        ["write"] = { ip='10.0.6.40', port=3306, db_user='root', db_password='123456', 
            db_name='game_test', db_timeout=10000, db_charset='utf8mb4', 
        },
    },
},

ssdb = {
    server = {
        [0] = { ip='10.0.6.40', port=9009, db_password='xZtXkxJFyhHbfSbOXs6NflySwUHGCnLI', db_timeout=10000, },
        [1] = { ip='10.0.6.40', port=9009, db_password='xZtXkxJFyhHbfSbOXs6NflySwUHGCnLI', db_timeout=10000, },
        [2] = { ip='10.0.6.40', port=9009, db_password='xZtXkxJFyhHbfSbOXs6NflySwUHGCnLI', db_timeout=10000, },
        [3] = { ip='10.0.6.40', port=9009, db_password='xZtXkxJFyhHbfSbOXs6NflySwUHGCnLI', db_timeout=10000, },
        [4] = { ip='10.0.6.40', port=9009, db_password='xZtXkxJFyhHbfSbOXs6NflySwUHGCnLI', db_timeout=10000, },
        [5] = { ip='10.0.6.40', port=9009, db_password='xZtXkxJFyhHbfSbOXs6NflySwUHGCnLI', db_timeout=10000, },
        [6] = { ip='10.0.6.40', port=9009, db_password='xZtXkxJFyhHbfSbOXs6NflySwUHGCnLI', db_timeout=10000, },
        [7] = { ip='10.0.6.40', port=9009, db_password='xZtXkxJFyhHbfSbOXs6NflySwUHGCnLI', db_timeout=10000, },
        [8] = { ip='10.0.6.40', port=9009, db_password='xZtXkxJFyhHbfSbOXs6NflySwUHGCnLI', db_timeout=10000, },
        [9] = { ip='10.0.6.40', port=9009, db_password='xZtXkxJFyhHbfSbOXs6NflySwUHGCnLI', db_timeout=10000, },
    },
},
}

return env_config